<?php /* Smarty version Smarty-3.0.8, created on 2012-10-25 18:42:05
         compiled from "G:\xampp\htdocs\gy78/template\front/index.html" */ ?>
<?php /*%%SmartyHeaderCode:140125089177d96d798-52993073%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '32357374c3b9c9e0f936601ae40ade7c013091ac' => 
    array (
      0 => 'G:\\xampp\\htdocs\\gy78/template\\front/index.html',
      1 => 1350720856,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '140125089177d96d798-52993073',
  'function' => 
  array (
  ),
  'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<?php if (!is_callable('smarty_modifier_date_format')) include 'G:\xampp\htdocs\gy78\SpeedPHP\Drivers\Smarty\plugins\modifier.date_format.php';
?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="zh-CN">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
        <title>光仪78同学会</title>
        <meta name="description" content="光仪78同学会" />
        <meta name="keywords" content="光仪78同学会，光仪，光学仪器，同学，同学会，78级，上海理工大学，上海机械学院，军工路516号" />
        <link rel="stylesheet" href="template/front/style.css" type="text/css" media="screen" />
				<script type="text/javascript" src="/resources/scripts/jquery-1.7.1.min.js"></script>

    </head>

    <body>
        <div id="fullwrapper">
            <div class="wrap">
                <div class="header">
                    <div class="logo">
                        <h3><a href="http://www.gy78.org">光仪78同学会</a>那个同学的美好时光</h3>
                    </div>
                    <div >
                        <ul id="topnav" class="nav">
                            <li id="menu-item-47" class=""><a href="/">首页</a></li>
                            <li id="menu-item-34" class=""><a href="<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['spUrl'][0][0]->__template_spUrl(array('c'=>'main','a'=>'category','id'=>1),$_smarty_tpl);?>
">文章</a></li>
                            <li id="menu-item-33" class=""><a href="<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['spUrl'][0][0]->__template_spUrl(array('c'=>'main','a'=>'category','id'=>2),$_smarty_tpl);?>
">照片</a></li>
                            <li id="menu-item-35" class=""><a href="<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['spUrl'][0][0]->__template_spUrl(array('c'=>'main','a'=>'category','id'=>3),$_smarty_tpl);?>
">诗人</a></li>
                            <li id="menu-item-50" class=""><a href="<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['spUrl'][0][0]->__template_spUrl(array('c'=>'main','a'=>'page','id'=>13),$_smarty_tpl);?>
">关于</a></li>
                        </ul>
                    </div>
                </div>
            </div>
            <div class="wrap">
                <div id="content" role="main">
                    <div class="content_top conleft"></div>
					<?php if ($_smarty_tpl->getVariable('title')->value==true){?>		<h2 class="pagetitle"><?php echo $_smarty_tpl->getVariable('title')->value;?>
</h2> <?php }?>

                    <?php if ($_smarty_tpl->getVariable('news')->value){?>
                    <?php  $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable;
 $_from = $_smarty_tpl->getVariable('news')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if ($_smarty_tpl->_count($_from) > 0){
    foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value){
?>
                    <div class="post" id="post-63">
                        <h2><a href="<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['spUrl'][0][0]->__template_spUrl(array('c'=>'main','a'=>'article','id'=>$_smarty_tpl->tpl_vars['item']->value['id']),$_smarty_tpl);?>
" rel="bookmark" title="<?php echo $_smarty_tpl->tpl_vars['item']->value['title'];?>
"><?php echo $_smarty_tpl->tpl_vars['item']->value['title'];?>
</a></h2>
                        <div class="post_intro"> <span><?php echo $_smarty_tpl->tpl_vars['item']->value['screenname'];?>
发表于<?php echo $_smarty_tpl->tpl_vars['item']->value['created'];?>
 分类：<a href="<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['spUrl'][0][0]->__template_spUrl(array('c'=>'main','a'=>'category','id'=>$_smarty_tpl->tpl_vars['item']->value['parent']),$_smarty_tpl);?>
" title="查看《 <?php echo $_smarty_tpl->tpl_vars['item']->value['class'];?>
》 中的全部文章" rel="category"><?php echo $_smarty_tpl->tpl_vars['item']->value['class'];?>
</a> &nbsp;&nbsp;阅读：<?php echo $_smarty_tpl->tpl_vars['item']->value['count'];?>
</span> <?php if ($_smarty_tpl->getVariable('userinfo')->value==true){?><?php if ($_smarty_tpl->getVariable('userinfo')->value['name']==$_smarty_tpl->tpl_vars['item']->value['author']){?><a class="post-edit-link" href="<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['spUrl'][0][0]->__template_spUrl(array('c'=>'post','a'=>'edit','id'=>$_smarty_tpl->tpl_vars['item']->value['id']),$_smarty_tpl);?>
" title="编辑文章"><span>编辑</span></a><?php }?><?php }?></div>
                        <div class="content_date">
                            <div class="datebg"> <span class="day"><?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['item']->value['created'],"%d");?>
</span> <span><?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['item']->value['created'],"%m");?>
</span> <span><?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['item']->value['created'],"%Y");?>
</span> </div>
                        </div>
                        <div class="comments"> <span class="cmt_num"><a href="<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['spUrl'][0][0]->__template_spUrl(array('c'=>'main','a'=>'article','id'=>$_smarty_tpl->tpl_vars['item']->value['id']),$_smarty_tpl);?>
" title="《<?php echo $_smarty_tpl->tpl_vars['item']->value['title'];?>
》上的评论"><?php if ($_smarty_tpl->tpl_vars['item']->value['comments']==true){?><?php echo $_smarty_tpl->tpl_vars['item']->value['comments'];?>
<?php }else{ ?>0<?php }?></a></span> </div>
                        <div class="entry">
                            <p><?php echo $_smarty_tpl->tpl_vars['item']->value['text'];?>
</p>
                            <p>&nbsp;</p>
                        </div>
                    </div>
                    <?php }} ?>
                    <?php }else{ ?>
                    <div class="nofound"></div>
                    <?php }?>
                    <div class="content_foot conleft"></div>
                </div>
                <?php $_template = new Smarty_Internal_Template("front/sidebar.html", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
 echo $_template->getRenderedTemplate(); $_template->rendered_content = null;?><?php unset($_template);?>
            </div>  	 <!-- end wrap  -->
                <?php $_template = new Smarty_Internal_Template("front/footer.html", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
 echo $_template->getRenderedTemplate(); $_template->rendered_content = null;?><?php unset($_template);?>
        </div>
    </body>
</html>
